package org.groupg.project.processManager;

public class ProcessInfo {
        private String name;
        private long pid;
        private ProcessStatus status;
        private String command;
        private long startTime;

        // 构造函数、getter、setter...

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getPid() {
            return pid;
        }

        public void setPid(long pid) {
            this.pid = pid;
        }

        public ProcessStatus getStatus() {
            return status;
        }

        public void setStatus(ProcessStatus status) {
            this.status = status;
        }

        public String getCommand() {
            return command;
        }

        public void setCommand(String command) {
            this.command = command;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public ProcessInfo() {
        }

        public ProcessInfo(String name, long pid, ProcessStatus status, String command, long startTime) {
            this.name = name;
            this.pid = pid;
            this.status = status;
            this.command = command;
            this.startTime = startTime;
        }
    }